.index-float-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 30px;
  margin: 0 auto;
  width: 94vw;
  max-width: 600px;
  min-width: 320px;
  background: #666;
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 10px 16px;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}
.float-bar-close {
  font-size: 28px;
  color: #ccc;
  margin-right: 16px;
  cursor: pointer;
  flex-shrink: 0;
}
.float-bar-text {
  color: #fff;
  font-size: 26px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.float-bar-action {
  margin-left: 16px;
  flex-shrink: 0;
}
.float-bar-btn {
  background: #ffe066;
  color: #333;
  font-size: 26px;
  font-weight: bold;
  border-radius: 8px;
  padding: 8px 22px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: background 0.2s;
}
.float-bar-btn:active {
  background: #ffd633;
}

// 登录弹窗样式
.login-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.login-modal {
  background: #fff;
  border-radius: 16px;
  width: 80vw;
  max-width: 400px;
  min-width: 280px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.login-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.login-modal-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
}

.login-modal-close {
  font-size: 32px;
  color: #999;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.login-modal-content {
  padding: 32px 24px 24px;
  text-align: center;
}

.login-modal-desc {
  font-size: 28px;
  color: #666;
  margin-bottom: 32px;
  display: block;
}

.login-modal-btn {
  background: #ffe066;
  color: #333;
  font-size: 30px;
  font-weight: bold;
  border-radius: 12px;
  padding: 16px 32px;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-modal-btn:active {
  background: #ffd633;
}

// 底部弹出登录弹窗样式
.login-modal-pop-overlay {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.login-modal-pop {
  width: 100vw;
  background: #fff;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.10);
  padding-bottom: env(safe-area-inset-bottom);
  animation: popUp 0.28s cubic-bezier(0.4,0,0.2,1);
  min-height: 52vh;
}

@keyframes popUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.login-modal-pop-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0 12px 0;
}
.login-modal-pop-img-placeholder {
  width: 80px;
  height: 80px;
  background: #f5f5f5;
  border-radius: 16px;
  margin-bottom: 12px;
}
.login-modal-pop-title {
  font-size: 28px;
  color: #222;
  font-weight: bold;
  margin-bottom: 8px;
}
.login-modal-pop-content {
  padding: 0 28px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.login-modal-pop-btn {
  width: 100%;
  background: #ffe066;
  color: #222;
  font-size: 26px;
  font-weight: bold;
  border-radius: 8px;
  padding: 16px 0;
  text-align: center;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: background 0.2s;
}
.login-modal-pop-btn:active {
  background: #ffd633;
}
.login-modal-pop-desc {
  font-size: 22px;
  color: #888;
  margin-bottom: 16px;
}
.login-modal-pop-password {
  width: 100%;
  background: #f5f5f5;
  color: #333;
  font-size: 22px;
  border-radius: 8px;
  padding: 10px 0;
  text-align: center;
  margin-bottom: 18px;
}
.login-modal-pop-protocol {
  width: 100%;
  margin-top: 8px;
}
.login-modal-pop-protocol-btn {
  background: #222;
  color: #fff;
  font-size: 20px;
  border-radius: 6px;
  padding: 8px 0;
  text-align: center;
  margin-bottom: 10px;
}
.login-modal-pop-checkbox-row {
  display: flex;
  align-items: center;
  margin-top: 2px;
}
.login-modal-pop-checkbox {
  width: 22px;
  height: 22px;
  border: 1.5px solid #bbb;
  border-radius: 4px;
  margin-right: 8px;
  background: #fff;
}
.login-modal-pop-protocol-text {
  font-size: 18px;
  color: #888;
} 